using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace MBMC.Dialogs
{
    public partial class FSImage : Form
    {
        public FSImage(string path)
        {
            InitializeComponent();
            pictureBox1.ImageLocation = path;
            richTextBox1.Text = path;
        }

        private void FSImage_Load(object sender, EventArgs e)
        {
            //this.Height = pictureBox1.Image.Height;
            //this.Width = pictureBox1.Image.Width;
            //this.Text = "Resize the window... Original size: " + pictureBox1.Image.Height + " x " + pictureBox1.Image.Width;
            panel1.Hide();
        }

        private void fSImageVBToolStripMenuItem_Click(object sender, EventArgs e)
        {
            panel1.Show();
        }

        private void imageLocationToolStripMenuItem_Click(object sender, EventArgs e)
        {
            panel1.Show();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            panel1.Hide();
        }

        public void SHOWABOUT()
        {
            panel1.Show();
        }
    }
}